package cn.snowheart.strategy.warrior.entity;

import cn.snowheart.strategy.warrior.weapon.WeaponBehavior;

/**
 * @author liuwanxiang
 * @version 2019/06/24
 */
public abstract class Character {

    protected WeaponBehavior weapon;

    public void fight() {
        weapon.useWeapon();
    }

    public void setWeapon(WeaponBehavior weapon) {
        this.weapon = weapon;
    }
}
